Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 5207 - new "My proofs" and "Proof" pages #5389

Merged
merged 2 commits into from
Jun 16, 2024

Conversation

monsieurtanuki
Copy link
Contributor

What

  • From the user page, a new button to the new "my proofs" page.
  • From "My proofs", links to "my proof" page.

Screenshots

new "my proofs" button new "my proofs" page new "my proof" page
Screenshot_1718534064 Screenshot_1718534348 Screenshot_1718534762

Fixes bug(s)

Files

New files:

  • price_proof_page.dart: Full page display of a proof.
  • prices_proofs_page.dart: Page that displays the latest proofs of the current user.

Impacted files:

  • app_en.arb: added 3 labels for "my proofs"
  • app_fr.arb: added 3 labels for "my proofs"
  • price_data_widget.dart: instead of a web app link, we open the new "my proof" page
  • user_preferences_account.dart: added a link to open the new "my proofs" page

New files:
* `price_proof_page.dart`: Full page display of a proof.
* `prices_proofs_page.dart`: Page that displays the latest proofs of the current user.

Impacted files:
* `app_en.arb`: added 3 labels for "my proofs"
* `app_fr.arb`: added 3 labels for "my proofs"
* `price_data_widget.dart`: instead of a web app link, we open the new "my proof" page
* `user_preferences_account.dart`: added a link to open the new "my proofs" page
@codecov-commenter
Copy link

codecov-commenter commented Jun 16, 2024

Codecov Report

Attention: Patch coverage is 0.83333% with 119 lines in your changes missing coverage. Please review.

Project coverage is 7.29%. Comparing base (4d9c7fc) to head (d2c0d3c).
Report is 197 commits behind head on develop.

Files Patch % Lines
...mooth_app/lib/pages/prices/prices_proofs_page.dart 1.06% 93 Missing ⚠️
.../smooth_app/lib/pages/prices/price_proof_page.dart 0.00% 17 Missing ⚠️
...ib/pages/preferences/user_preferences_account.dart 0.00% 5 Missing ⚠️
...smooth_app/lib/pages/prices/price_data_widget.dart 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           develop   #5389      +/-   ##
==========================================
- Coverage     9.54%   7.29%   -2.26%     
==========================================
  Files          325     390      +65     
  Lines        16411   19964    +3553     
==========================================
- Hits          1567    1456     -111     
- Misses       14844   18508    +3664     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@teolemon teolemon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

@monsieurtanuki monsieurtanuki merged commit 4fbf020 into openfoodfacts:develop Jun 16, 2024
6 checks passed
@monsieurtanuki
Copy link
Contributor Author

For the record it was my "1024th pull request merged"
🎆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Replicate the 'My Proofs' view from the Open Prices web app
3 participants